package co.baiku.boot.im.easemob.request;

import co.baiku.boot.im.easemob.model.MessageType;

public class EasemobMsg {
    /**
     * 消息类型；txt:文本消息，img：图片消息，loc：位置消息，audio：语音消息，video：视频消息，file：文件消息
     */
    private MessageType type;
    /**
     * 图片尺寸；height：高度，width：宽度
     */
    private EasemobImgSize size;

    public EasemobMsg() {
    }

    public EasemobMsg(MessageType type) {
        this.type = type;
    }

    public MessageType getType() {
        return type;
    }

    public void setType(MessageType type) {
        this.type = type;
    }

    public EasemobImgSize getSize() {
        return size;
    }

    public void setSize(EasemobImgSize size) {
        this.size = size;
    }
}
